from django.conf.urls import url
from django.contrib import admin
from django.urls import path

from Web import views

urlpatterns = [
    url(r'^homepage/', views.homepage, name='homepage'),
    url(r'^login/', views.login, name='login'),
    url(r'^register/', views.register, name='register'),
    url(r'^personal_center/', views.personal_center, name='personal_center'),
    url(r'^logout/', views.logout, name='logout'),
    url(r'^upload/', views.upload, name='upload'),
    url(r'^background/', views.background, name='background'),
    url(r'^check/', views.check, name='check'),
    url(r'^backgroundlogin/', views.backgroundlogin, name='backgroundlogin'),
    url(r'^checkpage/(?P<idd>\d+)/', views.checkpage, name='checkpage'),
    url(r'^insert/', views.insert, name='insert'),
    url(r'^look/(\d+)/', views.look, name='look'),
    # url(r'^lookpage/(\d+)/(\d+)/', views.lookpage, name='lookpage'),
    url(r'^app/', views.app, name='app'),
    url(r'^testpost/', views.testpost, name='testpost'),
    url(r'^putout/', views.putout, name='putout'),
    url(r'^myupload/', views.myupload, name='myupload'),
    url(r'^lookpage/(?P<idd>\d+)/', views.lookpage, name='lookpage'),
]
